package org.springblade.modules.repair.service;

import org.springblade.core.mp.base.BaseService;
import org.springblade.modules.repair.entity.MaintainParts;
import org.springblade.modules.repair.vo.MaintainPartsTreeVO;
import org.springblade.modules.repair.vo.MaintainPartsVO;

import java.util.List;

public interface MaintainPartsService extends BaseService<MaintainParts> {

	/**
	 * 列表
	 * @param maintainParts
	 * @return
	 */
	List<MaintainPartsVO> partsList(MaintainParts maintainParts);

	/**
	 * 树形列表
	 * @param maintainParts
	 * @return
	 */
	List<MaintainPartsTreeVO> partsTree(MaintainParts maintainParts);

	/**
	 * 获取电梯结构模板关联配件树
	 * @param elevatorId
	 * @return
	 */
    List<MaintainPartsTreeVO> getElevatorStructureTree(Long elevatorId);
}
